#ifndef TIME2_H

#define TIME2_H

#include <afx.h>


class CTime2
	{
	private:
	double Sec;
	bool Valid;

	public:
	CTime2();
	~CTime2();
	operator double() const { return Sec ; } ;
	double operator = (double x) { Valid = true; Sec = x; return Sec; } ;
	bool IsValid() const { return Valid ; } ;
	void Format(CString &str, int Prec = 0, bool LeadingZero = false) const;
	double operator = (CString str);
	};

#endif // TIME_H
